#include <stdio.h>
int main(){
  FILE* fd = fopen("./bite","w+");
  char msg[] = "linux so easy!\n";
  size_t w = fwrite(msg, sizeof(char), sizeof(msg), fd);

  fseek(fd, 0, SEEK_SET);

  char* buffer[1024];
  size_t r = fread(buffer, sizeof(char),sizeof(buffer),fd);
  if(r > 0){
    printf("%s",buffer);
  }
  fclose(fd);
  return 0;
}
